home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg1.cab / chart.mod < prev    next >
Text File  |  2005-09-10  |  9KB  |  271 lines

  1. <!--
  2.  
  3.     OpenOffice.org - a multi-platform office productivity suite
  4.  
  5.     $RCSfile: chart.mod,v $
  6.  
  7.     $Revision: 1.34 $
  8.  
  9.     last change: $Author: rt $ $Date: 2005/09/09 12:29:20 $
  10.  
  11.     The Contents of this file are made available subject to
  12.     the terms of GNU Lesser General Public License Version 2.1.
  13.  
  14.  
  15.       GNU Lesser General Public License Version 2.1
  16.       =============================================
  17.       Copyright 2005 by Sun Microsystems, Inc.
  18.       901 San Antonio Road, Palo Alto, CA 94303, USA
  19.  
  20.       This library is free software; you can redistribute it and/or
  21.       modify it under the terms of the GNU Lesser General Public
  22.       License version 2.1, as published by the Free Software Foundation.
  23.  
  24.       This library is distributed in the hope that it will be useful,
  25.       but WITHOUT ANY WARRANTY; without even the implied warranty of
  26.       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  27.       Lesser General Public License for more details.
  28.  
  29.       You should have received a copy of the GNU Lesser General Public
  30.       License along with this library; if not, write to the Free Software
  31.       Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  32.       MA  02111-1307  USA
  33.  
  34. -->
  35.  
  36.  
  37. <!ENTITY % chart-class "(line|area|circle|ring|scatter|radar|bar|stock|add-in)">
  38. <!ENTITY % chart-solid-type "(cuboid|cylinder|cone|pyramid)">
  39.  
  40. <!-- Chart element -->
  41. <!ELEMENT chart:chart ( chart:title?, chart:subtitle?, chart:legend?,
  42.                         chart:plot-area,
  43.                         table:table? )>
  44. <!ATTLIST chart:chart
  45.           chart:class %chart-class; #REQUIRED
  46.           chart:add-in-name %string; #IMPLIED
  47.           chart:table-number-list %string; #IMPLIED
  48.           draw:name %string; #IMPLIED
  49.           %draw-position;
  50.           %draw-size;
  51.           %draw-style-name;
  52.           chart:column-mapping %string; #IMPLIED
  53.           chart:row-mapping %string; #IMPLIED
  54.           chart:style-name %styleName; #IMPLIED>
  55.  
  56. <!ATTLIST chart:chart %presentation-class; >
  57. <!ATTLIST chart:chart %zindex;>
  58. <!ATTLIST chart:chart %draw-end-position; >
  59. <!ATTLIST chart:chart draw:id %draw-shape-id; >
  60. <!ATTLIST chart:chart draw:layer %layerName; #IMPLIED>
  61.  
  62. <!ATTLIST style:properties
  63.           chart:scale-text %boolean; "true"
  64.           chart:stock-updown-bars %boolean; "false"
  65.           chart:stock-with-volume %boolean; "false"
  66.           chart:three-dimensional %boolean; "false"
  67.           chart:deep %boolean; "false"
  68.           chart:lines %boolean; "false"
  69.           chart:percentage %boolean; "false"
  70.           chart:solid-type %chart-solid-type; "cuboid"
  71.           chart:splines %nonNegativeInteger; "0"
  72.           chart:stacked %boolean; "false"
  73.           chart:symbol %integer; "-1"
  74.           chart:vertical %boolean; "false"
  75.           chart:lines-used %nonNegativeInteger; "0"
  76.           chart:connect-bars %boolean; "false"
  77.           chart:spline-order %nonNegativeInteger; "2"
  78.           chart:spline-resolution %nonNegativeInteger; "20"
  79.           chart:pie-offset %nonNegativeInteger; "0">
  80.  
  81. <!-- Main/Sub Title -->
  82. <!-- the cell-address attribute is currently not supported for titles -->
  83. <!ELEMENT chart:title (text:p)?>
  84. <!ATTLIST chart:title
  85.           table:cell-range %cell-address; #IMPLIED
  86.           svg:x %coordinate; #IMPLIED
  87.           svg:y %coordinate; #IMPLIED
  88.           chart:style-name %styleName; #IMPLIED >
  89.  
  90. <!ELEMENT chart:subtitle (text:p)?>
  91. <!ATTLIST chart:subtitle
  92.           table:cell-range %cell-address; #IMPLIED
  93.           svg:x %coordinate; #IMPLIED
  94.           svg:y %coordinate; #IMPLIED
  95.           chart:style-name %styleName; #IMPLIED >
  96.  
  97. <!-- you must specify either a legend-position or both, x and y coordinates -->
  98. <!ELEMENT chart:legend EMPTY>
  99. <!ATTLIST chart:legend
  100.           chart:legend-position (top|left|bottom|right) "right"
  101.           svg:x %coordinate; #IMPLIED
  102.           svg:y %coordinate; #IMPLIED
  103.           chart:style-name %styleName; #IMPLIED >
  104.  
  105. <!-- Plot-Area specification -->
  106.  
  107. <!ELEMENT chart:plot-area (dr3d:light*,
  108.                            chart:axis*,
  109.                            chart:categories?,
  110.                            chart:series*,
  111.                            chart:stock-gain-marker?,
  112.                            chart:stock-loss-marker?,
  113.                            chart:stock-range-line?,
  114.                            chart:wall?,
  115.                            chart:floor?) >
  116.  
  117. <!ATTLIST chart:plot-area
  118.           svg:x %coordinate; #IMPLIED
  119.           svg:y %coordinate; #IMPLIED
  120.           svg:width %length; #IMPLIED
  121.           svg:height %length; #IMPLIED
  122.           chart:style-name %styleName; #IMPLIED
  123.           table:cell-range-address %cell-range-address; #IMPLIED
  124.           chart:table-number-list %string; #IMPLIED
  125.           chart:data-source-has-labels (none|row|column|both) "none" >
  126.  
  127. <!-- 3d scene attributes on plot-area -->
  128. <!ATTLIST chart:plot-area
  129.           dr3d:vrp %vector3D; #IMPLIED
  130.           dr3d:vpn %vector3D; #IMPLIED
  131.           dr3d:vup %vector3D; #IMPLIED
  132.           dr3d:projection (parallel|perspective) #IMPLIED
  133.           dr3d:transform CDATA #IMPLIED
  134.           dr3d:distance %length; #IMPLIED
  135.           dr3d:focal-length %length; #IMPLIED
  136.           dr3d:shadow-slant %nonNegativeInteger; #IMPLIED
  137.           dr3d:shade-mode (flat|phong|gouraud|draft) #IMPLIED
  138.           dr3d:ambient-color %color; #IMPLIED
  139.           dr3d:lighting-mode %boolean; #IMPLIED >
  140.  
  141. <!ATTLIST style:properties
  142.           chart:series-source (columns|rows) "columns" >
  143.  
  144. <!ELEMENT chart:wall EMPTY>
  145. <!ATTLIST chart:wall
  146.           svg:width %length; #IMPLIED
  147.           chart:style-name %styleName; #IMPLIED >
  148.  
  149. <!ELEMENT chart:floor EMPTY>
  150. <!ATTLIST chart:floor
  151.           svg:width %length; #IMPLIED
  152.           chart:style-name %styleName; #IMPLIED >
  153.  
  154. <!-- Stock chart elements -->
  155.  
  156. <!ELEMENT chart:stock-gain-marker EMPTY>
  157. <!ATTLIST chart:stock-gain-marker
  158.           chart:style-name %styleName; #IMPLIED >
  159.  
  160. <!ELEMENT chart:stock-loss-marker EMPTY>
  161. <!ATTLIST chart:stock-loss-marker
  162.           chart:style-name %styleName; #IMPLIED >
  163.  
  164. <!ELEMENT chart:stock-range-line EMPTY>
  165. <!ATTLIST chart:stock-range-line
  166.           chart:style-name %styleName; #IMPLIED >
  167.  
  168. <!-- Axis -->
  169.  
  170. <!ELEMENT chart:axis (chart:title?, chart:grid*)>
  171. <!ATTLIST chart:axis
  172.           chart:class (category|value|series|domain) #REQUIRED
  173.           chart:name %string; #IMPLIED
  174.           chart:style-name %styleName; #IMPLIED >
  175.  
  176. <!ATTLIST style:properties
  177.           chart:tick-marks-major-inner %boolean; "false"
  178.           chart:tick-marks-major-outer %boolean; "true"
  179.           chart:tick-marks-minor-inner %boolean; "false"
  180.           chart:tick-marks-minor-outer %boolean; "false"
  181.           chart:logarithmic %boolean; "false"
  182.           chart:maximum %float; #IMPLIED
  183.           chart:minimum %float; #IMPLIED
  184.           chart:origin %float; #IMPLIED
  185.           chart:interval-major %float; #IMPLIED
  186.           chart:interval-minor %float; #IMPLIED
  187.           chart:gap-width %integer; #IMPLIED
  188.           chart:overlap %integer; #IMPLIED
  189.           text:line-break %boolean; "true"
  190.           chart:display-label %boolean; "true"
  191.           chart:label-arrangement (side-by-side|stagger-even|stagger-odd) "side-by-side"
  192.           chart:text-overlap %boolean; "false"
  193.           chart:visible %boolean; "true" 
  194.           chart:link-data-style-to-source %boolean; "true" >
  195.  
  196. <!ELEMENT chart:grid EMPTY>
  197. <!ATTLIST chart:grid
  198.           chart:class (major|minor) "major"
  199.           chart:style-name %styleName; #IMPLIED >
  200.  
  201.  
  202. <!ELEMENT chart:categories EMPTY>
  203. <!ATTLIST chart:categories
  204.           table:cell-range-address %cell-range-address; #IMPLIED >
  205.  
  206. <!--
  207.     each series element must have an cell-range-address element that points
  208.     to the underlying table data.
  209.     Impl. Note: Internally all href elements are merged to one table range
  210.     that represents the data for the whole chart
  211. -->
  212. <!ELEMENT chart:series ( chart:domain*,
  213.                          chart:mean-value?,
  214.                          chart:regression-curve?,
  215.                          chart:error-indicator?,
  216.                          chart:data-point* )>
  217. <!ATTLIST chart:series
  218.           chart:values-cell-range-address %cell-range-address; #IMPLIED
  219.           chart:label-cell-address %cell-address; #IMPLIED
  220.           chart:class %chart-class; #IMPLIED
  221.           chart:attached-axis %string; #IMPLIED
  222.           chart:style-name %styleName; #IMPLIED >
  223.  
  224. <!ELEMENT chart:domain EMPTY>
  225. <!ATTLIST chart:domain
  226.           table:cell-range-address %cell-range-address; #IMPLIED >
  227.  
  228. <!ELEMENT chart:data-point EMPTY>
  229. <!ATTLIST chart:data-point
  230.           chart:repeated %nonNegativeInteger; #IMPLIED
  231.           chart:style-name %styleName; #IMPLIED >
  232.  
  233. <!-- statistical properties -->
  234.  
  235. <!ELEMENT chart:mean-value EMPTY>
  236. <!ELEMENT chart:regression-curve EMPTY >
  237. <!ELEMENT chart:error-indicator EMPTY >
  238. <!ATTLIST chart:mean-value chart:style-name %styleName; #IMPLIED >
  239. <!ATTLIST chart:regression-curve chart:style-name %styleName; #IMPLIED >
  240. <!ATTLIST chart:error-indicator chart:style-name %styleName; #IMPLIED >
  241.  
  242. <!ATTLIST style:properties
  243.           chart:mean-value %boolean; #IMPLIED
  244.           chart:error-category (none|variance|standard-deviation|percentage|error-margin|constant) "none"
  245.           chart:error-percentage %float; #IMPLIED
  246.           chart:error-margin %float; #IMPLIED
  247.           chart:error-lower-limit %float; #IMPLIED
  248.           chart:error-upper-limit %float; #IMPLIED
  249.           chart:error-upper-indicator %boolean; #IMPLIED
  250.           chart:error-lower-indicator %boolean; #IMPLIED
  251.           chart:regression-type (none|linear|logarithmic|exponential|power) "none" >
  252.  
  253. <!-- data label properties -->
  254.  
  255. <!ATTLIST style:properties
  256.           chart:data-label-number (none|value|percentage) "none"
  257.           chart:data-label-text %boolean; "false"
  258.           chart:data-label-symbol %boolean; "false" >
  259.  
  260. <!-- general text properties -->
  261.  
  262. <!ATTLIST style:properties 
  263.           text:rotation-angle %integer; "0" >
  264.  
  265. <!-- symbol properties -->
  266.  
  267. <!ATTLIST style:properties
  268.           chart:symbol-width %nonNegativeLength; #IMPLIED
  269.           chart:symbol-height %nonNegativeLength; #IMPLIED
  270.           chart:symbol-image-name %string; #IMPLIED >
  271.